'use strict';

module.exports = async function (ctx) {
    ctx.session = null;
    delete ctx.session;
    ctx.redirect('/');
};